package cn.com.surker.enums.system;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2022年03月01 10:52
 * @desc
 */
public enum PlatformUserEnum implements IDescription {

    DRIVER(0,"罐车驾驶员", "https://weight.chixugroup.com/wechat/wx-login"),///wechat/driver/index1
    CLIENT(1,"工地客户", "https://weight.chixugroup.com/wechat/wx-login"),
    ADMIN(2,"管理员", "https://surker.chixugroup.com/cloud/index"),//wechat/wx-login
    MATERIAL(3, "材料驾驶员", "https://weight.chixugroup.com/wechat/wx-login"),
    CLIENT1(4,"工地客户v1", "https://weight.chixugroup.com/wechat/wx-login"),;

    private final String description;

    private final String url;

    private final Integer code;

    PlatformUserEnum(Integer code, String description, String url) {
        this.description = description;
        this.code = code;
        this.url = url;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public String getUrl() {return url;}

    public Integer getCode() {return code;}
}